#ifndef __RT_H__
#define __RT_H__

#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/xml_parser.hpp>

using boost::property_tree::ptree;

class Main {
	
	public:
		Main() : ReceivingFlag( true ) {
		}
		~Main() {
		}
		
		bool Init( bool f, std::string c );
		bool Run();
		void Stop();
	
		bool Listen;
		
	private:
		bool ReceivingFlag;
		ptree Config;
};

#endif
